package com.example.springboot_project.service;

import com.example.springboot_project.entity.Students;
import org.apache.ibatis.annotations.Param;

import java.util.List;
//跳转方法的实现，跳转到实现类：ctrl+alt+b
public interface StudentsService {

    int deleteByPrimaryKey(Integer id);

    int insert(Students record);

    int insertSelective(Students record);

    int updateByPrimaryKey(Students record);

    List<Students> findAll();

    //使用手机号和密码验证登录
    Students selectByStuPhoneAndStuPwdAndStuName(String stuPhone,String stuPwd,String stuName);
}
